import type { AddressItem } from '@/types/global'
import { defineStore } from 'pinia'
import { ref } from 'vue'
// 用户选中的收货地址仓库
export const useAddressStore = defineStore('address', () => {
  // 选中的收货地址
  let selectedAddress = ref<AddressItem>()
  return { selectedAddress }
})
